﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace nadModel
{
    public class LogProcess
    {
        public void Log(string msg)
        {
            this.Log(msg, LogLevel.INFO);
        }

        public void Log(string msg, LogLevel level)
        {
            LogManager instance = LogManager.GetInstance();
            if (instance != null)
            {
                instance.Log(msg, level, this);
            }
        }
    }
}
